﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace DKSEO
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            try
            {
                bool run = true;
                System.Diagnostics.Process[] p = System.Diagnostics.Process.GetProcessesByName("Unitu");
                if (p.Length > 1)
                    run = false;
                p = System.Diagnostics.Process.GetProcessesByName("Unitu.exe");
                if (p.Length > 1)
                    run = false;
                if (run)
                {
                    Application.Run(new Form1());
                }
            }
            catch (System.Exception ex)
            {
                Application.Exit();
            }
        }
    }
}
